{{define "/chapter3/template.html"}}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- <script src="/static/js/jquery.min.js"></script> -->
</head>

<body>
    <!-- {{.Name}}
    {{.Age}}
    {{'A'}}
    {{/*"xiaoming"*/}}
    {{$place := "fujian"}}
    {{print $place}} -->
    <!-- {{range .}}
        {{.}}
    {{end}} -->
    {{with .struct}}
        {{.Name}}
        {{.Age}}
    {{else}}
        数据不存在
    {{end}}

    <br>
    {{"xiaofang"|printf "%s"}}
    <br>
    {{printf "%s-%s" "address" (printf "%s*%s" "name" "xiaoming")}}
    <br>
    {{index .username 1}}
    <br>
    {{urlquery "https://127.0.0.1"}}
    <br>
    {{le 18 19}}
    <br>
    {{eq 11 15 14 11}}
    <br>
    {{$A := (add 1 2)}}
    {{printf "number is %d" $A}}
    <br>
        {{$B := timeTr}}
        {{print $B}}
    <br>
</body>

</html>
{{end}}